<script setup>
import { useRouter } from "simpleRouter";
const router = useRouter();
</script>

<template>
  <view class="container" flex flex-col flex-items-center flex-justify-center>
    <image style="width: 100%" mode="aspectFit" src="images/404.png" />
    <uv-button type="primary" text="返回首页" style="margin-top: 40upx" @click="router.replaceAll({ path: '/' })" />
  </view>
</template>
